package org.jeecg.modules.product.job.JSAAnalysislibrary.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;

import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: jsa分析库
 * @Author: jeecg-boot
 * @Date:   2024-06-19
 * @Version: V1.0
 */
@Data
@TableName("tb_job_jsa_analysis_library")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@Schema(description="jsa分析库")
public class TbJobJsaAnalysisLibrary implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "主键")
    private String id;
	/**创建人*/
    @Schema(description = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建日期")
    private Date createTime;
	/**更新人*/
    @Schema(description = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @Schema(description = "所属部门")
    private String sysOrgCode;
	/**作业类型*/
	@Excel(name = "作业类型", width = 15, dicCode = "jobType")
	@Dict(dicCode = "jobType")
    @Schema(description = "作业类型")
    private String type;
	/**作业步骤*/
	@Excel(name = "作业步骤", width = 15)
    @Schema(description = "作业步骤")
    private String flow;
	/**危害分析*/
	@Excel(name = "危害分析", width = 15)
    @Schema(description = "危害分析")
    private String hazardAnalysis;
	/**措施控制*/
	@Excel(name = "措施控制", width = 15)
    @Schema(description = "措施控制")
    private String measureControl;
    /**确认岗位*/
    @Excel(name = "确认岗位", width = 15, dictTable = "sys_position", dicText = "name", dicCode = "id")
    @Dict(dictTable = "sys_position", dicText = "name", dicCode = "id")
    @Schema(description = "确认岗位")
    private String confirmPostion;
	/**是否必选*/
	@Excel(name = "是否必选", width = 15, dicCode = "yn")
	@Dict(dicCode = "yn")
    @Schema(description = "是否必选")
    private String isNot;
}
